package com.zhtools.wx.bean;

import java.io.Serializable;

/**
 * @author zhanghao
 * 根据code获取AccessToken响应结果
 */
public class GetAccessTokenByCodeResponse implements Serializable {
    private static final long serialVersionUID = 1774512019257796276L;

    private String token;
    private String openId;

    public GetAccessTokenByCodeResponse(String token, String openId) {
        this.token = token;
        this.openId = openId;
    }

    public String getToken() {
        return token;
    }

    public String getOpenId() {
        return openId;
    }
}
